package org.v2ray.rocket.proxy.support.network.model

import com.google.gson.annotations.SerializedName

const val STATUS_VIP = 1//是vip
const val STATUS_NO_VIP = 0//非vip
const val STATUS_FOREVER_VIP = -1//永久vip

data class UserInfoModel(
    @SerializedName("tk")
    val token: String,
    val info: InfoModel,
    var timeStamp: Long
)

data class InfoModel(
    val id: String,
    val tel: String?,
    @SerializedName("created_at")
    val createAt: String,
    @SerializedName("sup_laster")
    val vipExpiredTime: Long,//vip过期时间
    @SerializedName("svip_laster")
    val sVipExpiredTime: Long,//sVip过期时间
    @SerializedName("fvip_laster")
    val fVipExpiredTime: Long,//fVip过期时间
    @SerializedName("is_vip")
    val isVip: Int,
    @SerializedName("is_svip")
    val isSVip: Int,
    @SerializedName("is_fvip")
    val isFVip: Int,
    @SerializedName("invite_id")
    val inviteId: String?,
    @SerializedName("yk_id")
    val visitorId: String? = null,
)
